package cn.iocoder.yudao.module.ao.controller.admin.academicyear.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.time.LocalDate;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 学年及班级信息 Response VO")
@Data
@ExcelIgnoreUnannotated
public class AcademicYearRespVO {

    @Schema(description = "学年唯一ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "27171")
    @ExcelProperty("学年唯一ID")
    private Long yearId;

    @Schema(description = "学校ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelProperty("学校ID")
    private Long schoolId;

    @Schema(description = "学年，如2024-2025", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("学年，如2024-2025")
    private String schoolYear;

    @Schema(description = "学期名称", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("学期名称")
    private String termName;

    @Schema(description = "学期代码", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("学期代码")
    private String termCode;

    @Schema(description = "开始日期", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("开始日期")
    private LocalDate startDate;

    @Schema(description = "结束日期", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("结束日期")
    private LocalDate endDate;

    @Schema(description = "周数统计", example = "11")
    @ExcelProperty("周数统计")
    private Integer weeksCount;

    @Schema(description = "是否当前学期", example = "false")
    @ExcelProperty("是否当前学期")
    private Boolean isCurrent;

    @Schema(description = "状态（0=禁用 1=启用）", example = "1")
    @ExcelProperty("状态")
    private Integer status;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}